home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Leser 15 / Amiga Plus Leser CD 15.iso / Tools / Development / mmu / MuManual / Include / mmu_lib.fd < prev   
Text File  |  2002-03-12  |  3KB  |  93 lines

  1. *-----------------------------------------------------------------
  2. *-- MMU.library                                                 --
  3. *-- © 1998,1999 the mmu.library development group, THOR-Software--
  4. *--                                                             --
  5. *-- Library header file Version 43.1                            --
  6. *--                                                             --
  7. *-- created 18 Oct 1998 THOR,   Thomas Richter                  --
  8. *--     Modifications:                                          --
  9. *--                                                             --
  10. *-- 40.50:    Final release,    31 Oct 1999, Thomas Richter    --
  11. *-- 41.1:            28 Nov 1999, Thomas Richter    --
  12. *-- 42.0:            25 Mar 2000, Thomas Richter    --
  13. *-- 43.1:            16 Sep 2001, Thomas Richter    --
  14. *-----------------------------------------------------------------
  15. ##base _MMUBase
  16. ##bias 30
  17. ##public
  18. AllocAligned(bytesize,reqments,alignment)(d0,d1,a0)
  19. GetMapping(ctx)(a0)
  20. ReleaseMapping(ctx,list)(a0,a1)
  21. GetPageSize(ctx)(a0)
  22. GetMMUType()()
  23. ##private
  24. GetMMUConfig()()
  25. ReleaseMMUConfig(mfc)(a1)
  26. ##public
  27. LockMMUContext(ctx)(a0)
  28. UnlockMMUContext(ctx)(a0)
  29. SetPropertiesA(ctx,flags,mask,lower,size,tags)(a0,d1,d2,a1,d0,a2)
  30. GetPropertiesA(ctx,lower,tags)(a0,a1,a2)
  31. RebuildTree(ctx)(a0)
  32. SetPagePropertiesA(ctx,flags,mask,lower,tags)(a0,d1,d2,a1,a2)
  33. GetPagePropertiesA(ctx,lower,tags)(a0,a1,a2)
  34. CreateMMUContextA(tags)(a0)
  35. DeleteMMUContext(ctx)(a0)
  36. ##private
  37. AllocLineMem(bytesize,reqments)(d0,d1)
  38. ##public
  39. AllocLineVec(bytesize,reqments)(d0,d1)
  40. PhysicalPageLocation(ctx,addr)(a0,a1)
  41. SuperContext(ctx)(a0)
  42. DefaultContext()()
  43. EnterMMUContext(ctx,task)(a0,a1)
  44. LeaveMMUContext(task)(a1)
  45. AddContextHookA(tags)(a0)
  46. RemContextHook(hook)(a1)
  47. AddMessageHookA(tags)(a0)
  48. RemMessageHook(hook)(a1)
  49. ActivateException(hook)(a1)
  50. DeactivateException(hook)(a1)
  51. AttemptLockMMUContext(ctx)(a0)
  52. LockContextList()()
  53. UnlockContextList()()
  54. AttemptLockContextList()()
  55. SetPropertyList(ctx,list)(a0,a1)
  56. TouchPropertyList(list)(a1)
  57. CurrentContext(task)(a1)
  58. DMAInitiate(ctx,addrptrptr,lengthptr,write)(d1,a0,a1,d0)
  59. DMATerminate(ctx)(d1)
  60. PhysicalLocation(ctx,addrptrptr,lengthptr)(d1,a0,a1)
  61. RemapSize(ctx)(a0)
  62. WithoutMMU(func)(a5)
  63. SetBusError(func,oldfuncptr)(a0,a1)
  64. GetMMUContextData(ctx,tagid)(a0,d0)
  65. SetMMUContextDataA(ctx,tags)(a0,a1)
  66. NewMapping()()
  67. CopyMapping(from,to,base,length,mask)(a0,a1,d0,d1,d2)
  68. DupMapping(list)(a0)
  69. CopyContextRegion(ctx,list,base,length,mask)(a0,a1,d0,d1,d2)
  70. SetPropertiesMapping(ctx,list,base,length,mask)(a0,a1,d0,d1,d2)
  71. SetMappingPropertiesA(list,flags,mask,lower,size,tags)(a0,d1,d2,a1,d0,a2)
  72. GetMappingPropertiesA(list,lower,tags)(a0,a1,a2)
  73. BuildIndirect(ctx,address,props)(a0,d0,d1)
  74. SetIndirect(destination,logical,descriptor)(a0,a1,d0)
  75. GetIndirect(ctx,adt,address)(a0,a1,d0)
  76. ##private
  77. ** VMM support functions
  78. SwitchControl(oldswitch)(a0)
  79. ##public
  80. ** New for V41
  81. RebuildTreesA(ctxptr)(a0)
  82. ** New for V42
  83. RunOldConfig(func)(a5)
  84. SetIndirectArray(destination,descriptor,number)(a0,a1,d0)
  85. ** New for V43
  86. GetPageUsedModified(ctx,address)(a0,a1)
  87. ##private
  88. reserved1()()
  89. reserved2()()
  90. reserved3()()
  91. reserved4()()
  92. ##end
  93.